import java.awt.Color;
import java.awt.Graphics;
import java.awt.Panel;


public class HolesAWT extends Panel
{
	private static final long serialVersionUID = 1L;
	Color col = Color.WHITE;
	int is = -1;
	
	public Color getCol() 
	{
		return col;
	}
	public void setCol(Color col) 
	{
		this.col = col;
	}
	public int getIs() 
	{
		return is;
	}
	public void setIs(int is) 
	{
		this.is = is;
	}
	
	public HolesAWT()
	{
		this.setBackground(Color.BLACK);
	}
	
	public void paint(Graphics g)
	{
		switch (is)
		{
		case -1: //none
			g.setColor(getCol());
			g.fillOval(0, 0, 30, 30);
			break;
		case 0: //red
			g.setColor(getCol());
			g.fillOval(0, 0, 30, 30);
			break;
		case 1: //green
			g.setColor(getCol());
			g.fillOval(0, 0, 30, 30);
			break;
		}
	}
	
}
